package cn.zjnu.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


//SpringMvc的设置
@Configuration
@ComponentScan({"cn.zjnu.controller","cn.zjnu.config"})  //扫描controller包下的bean
@EnableWebMvc                         //开启Json数据转化为对象的功能
public class SpringMvcConfig {
}
